package com.loser.csp.dal.dao;

import java.util.List;

import com.loser.csp.dal.model.Goods;

public interface GoodsMapper {
    int deleteByProductid(Integer productid);

    int insert(Goods record);

    Goods selectByProductid(Integer productid);

    int updateByProduct(Goods record);

    int updateByPrimaryKeySelective(Goods record);
    
    List<Goods> selectListByTypeId(Integer typeId);
}